#ifndef __SYSTEM_H__
#define __SYSTEM_H__


/**
 *  STANDARD C LIBRARY
 */
#include <stdio.h>
#include <anos_config.h>
/**
 *  SYSTEM TYPES
 */
#include <anos_error.h>
#include <anos_boolean.h>


/**
 *  Microcontroller
 */
#ifndef MICROC
#error no specific microC is defined
#endif

#if MICROC==MCU_AT16
#include <at16/at16_hardware.h>
#endif

#if MICROC==MCU_AT644P
#include <at644p/at644p_hardware.h>
#endif

#if MICROC==MCU_ATTINY85
#include <attiny85/attiny85_hardware.h>
#endif

/**
 *  DEFAULT SYSTEM LIBRARY
 */
#include <task.h>
#include <timer.h>

/**
*Command
*/
	void SYSTEM_init(void);
	void SYSTEM_run(void);

/**
*Signal
*/
	void APP_booted(void);

#endif // __SYSTEM_H__
